{extend name="base" /}
{block name="css"}
<link rel="stylesheet" type="text/css" href="__STATIC__/plugins/mmgrid/mmGrid.css?v={$v}" />
{/block}
{block name="js"}
<script src="__STATIC__/plugins/mmgrid/mmGrid.js?v={$v}" type="text/javascript"></script>
<script src="__ADMIN__/cashdraws/cashdraws.js?v={$v}" type="text/javascript"></script>
{/block}
{block name="main"}
<div id='alertTips' class='alert alert-success alert-tips fade in'>
  <div id='headTip' class='head'><i class='fa fa-lightbulb-o'></i>操作说明</div>
  <ul class='body'>
    <li>本功能主要用于处理来自于会员（商家）的提现请求。提现通过后系统会扣除会员（商家）的钱包金额。</li>
    <li>本功能只扣除本系统的会员(商家)钱包金额，实际上的资金转账需平台线下操作。</li>
  </ul>
</div>
<div class="wst-toolbar">
    <select id='targetType' class='j-ipt'>
	    <option value='-1'>会员类型</option>
        <option value='0'>会员</option>
        <option value='1'>商家</option>
    </select>
    <select id='cashSatus' class='j-ipt'>
        <option value='-2'>提现状态</option>
        <option value='0'>待处理</option>
        <option value='1'>提现成功</option>
        <option value='-1'>提现失败</option>
    </select>
    <input type="text" name="cashNo"  placeholder='提现单号' id="cashNo" class='j-ipt'/>
    <button class="btn btn-primary" onclick='javascript:loadGrid(0)'><i class="fa fa-search"></i>查询</button>
    <button class="btn btn-primary f-right btn-fixtop" onclick='javascript:toExport(0)'><i class="fa fa-sign-in"></i>导出</button>
    <div style='clear:both'></div>
</div>
<div class='wst-grid'>
<div id="mmg" class="mmg"></div>
<div id="pg" style="text-align: right;"></div>
</div>
<script>
$(function(){
	initGrid({$p});
})
</script>
{/block}